package com.danny.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class SumInfo {
    int checkinNo;
    int RoomNo;
    String ItemName;
    String number;      //前四项为用户输入，其他为系统生成
    String UnitPrice;
    int sumPrice;
    double discountRate;
    int newPrice;
    int sum;

    @Override
    public String toString() {
        return "SumInfo{" +
                "checkinNo=" + checkinNo +
                ", RoomNo=" + RoomNo +
                ", ItemName='" + ItemName + '\'' +
                ", number='" + number + '\'' +
                ", UnitPrice='" + UnitPrice + '\'' +
                ", sumPrice=" + sumPrice +
                ", discountRate=" + discountRate +
                ", newPrice=" + newPrice +
                ", sum=" + sum +
                '}';
    }
}
